#include "Segmentation.h"

class Determinator
{

public:
	static void FindInflection (IplImage* im, int*& x, int*& y, int& count);
	static void Find1(IplImage* im, IplImage* mask);
	static void Delete(IplImage* im);
	static IplImage* Decrease(IplImage* im, int degree);
	static bool Compare (IplImage* im, IplImage* ex, int & step1, int & step2, int & He, int & Wi);
protected:
	static bool Find(int i,double* P, int count, int H, int W, int iPrev);
};